﻿<%@ Page Title="家乐福——获奖名单" Language="C#" MasterPageFile="~/MasterPageTwoCol.master"
    AutoEventWireup="true" CodeBehind="AwardList.aspx.cs" Inherits="WebSite.AwardList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .sub_title
        {
            padding-left: 10px;
            padding-top: 10px;
        }
        .sub_title p
        {
            line-height: 30px;
        }
        
        .p1, .p2, .p3, .p4
        {
            margin-top: 20px;
        }
        .p1 .fltlft, .p2 .fltlft, .p3 .fltlft, .p4 .fltlft
        {
            width: 320px;
        }
        
        .p1 .list
        {
            width: 650px;
            margin: 0 auto;
        }
        .p1 .list div.item
        {
            float: left;
            display: inline-block;
            width: 210px;
            font-size: 14px;
            margin: 0 1px;
            height: 35px;
        }
        
        .p2 .groups
        {
            margin-top: 10px;
        }
        .p2 .groups .group
        {
            width: 650px;
            margin: 0 auto;
        }
        .p2 .groups .group .title
        {
            float: left;
            width: 60px;
            display: inline-block;
        }
        .p2 .groups .group .itemgroup
        {
            float: left;
            width: 590px;
            display: inline-block;
        }
        .p2 .groups .group .itemgroup .item
        {
            float: left;
            width: 190px;
            display: inline-block;
            height: 25px;
        }
        
        .p3 .groups
        {
            margin-top: 10px;
        }
        .p3 .groups .group
        {
            width: 650px;
            margin: 0 auto;
        }
        .p3 .groups .group .title
        {
            float: left;
            width: 125px;
            display: inline-block;
        }
        .p3 .groups .group .itemgroup
        {
            float: left;
            width: 520px;
            display: inline-block;
        }
        .p3 .groups .group .itemgroup .item
        {
            float: left;
            width: 100px;
            display: inline-block;
            height: 25px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="p1">
        <div class="fltlft">
            <div style="background: url(images/AwardList/t1.png) no-repeat; height: 40px;">
            </div>
            <div class="sub_title">
                <p class="ft_14 green2">
                    40组晋级宝宝帮中，每人都将获得：</p>
                <p class="ft_18 orange2">
                    奖品：培培乐彩泥——我的蛋糕小作坊</p>
            </div>
        </div>
        <div class="fltrt">
            <img src="images/AwardList/a1.png" alt="award" />
        </div>
        <div class="clearfloat">
        </div>
        <div class="list">
            <% foreach( var team in listTeam )
               { %>
            <div class="item">
                <kdb class="orange2"><%=team.TeamName %></kdb> <%=team.BabyAName %>/<%=team.BabyBName %></div>
                <%} %>
            
            <% if( listTeam.Count == 0 ) 
               {%>
            <div class="item">敬请期待</div>
            <%} %>

            <div class="clearfloat">
            </div>
        </div>
        <div class="separline_655">
            </div>
    </div>
    <div class="p2">
        <div class="fltlft">
            <div style="background: url(images/AwardList/t2.png) no-repeat; height: 40px;">
            </div>
            <div class="sub_title">
                <p class="ft_14 green2">
                    11月12日-11月15日决赛期间，</p>
                <p class="ft_14 green2">
                    每个工作日将从投票网友中选出6位幸运儿</p>
                <p class="ft_18 orange2">
                    奖品：竹纤维毛巾礼盒～</p>
            </div>
        </div>
        <div class="fltrt">
            <img src="images/AwardList/a2.png" alt="award" />
        </div>
        <div class="clearfloat">
        </div>
        <div class="groups">
            <% foreach (var ll2 in listVoteAward)
               {
                   string[] ll2users = ll2.UserList.Split( ',' );
            %>
            <div class="group">
                <div class="ft_12 green2 title">
                    <%= ll2.Title%></div>
                <div class="itemgroup">
                    <% 
               foreach (var n in ll2users)
               { %>
                    <div class="item">
                        <%=n%></div>
                    <%} %>
                    <div class="clearfloat">
                    </div>
                </div>
                <div class="clearfloat">
                </div>
            </div>
            <div class="separline_655">
            </div>
            <% } %>
           
        </div>
    </div>
    <div class="p3">
        <div class="fltlft">
            <div style="background: url(images/AwardList/t3.png) no-repeat; height: 40px;">
            </div>
            <div class="sub_title">
                <p class="ft_14 green2">
                    从10月8日至11月18日，<a href="http://e.weibo.com/crfchina" target="_blank">微博</a>上将进行丰富多彩的有奖活动。同时，从本站分享微博也有机会赢取精美奖品！</p>
                <p class="ft_18 orange2">
                    奖品：乐扣乐扣保鲜盒三件套超大型多层声光轨道车或竹纤维毛巾礼盒～</p>
            </div>
        </div>
        <div class="fltrt">
            <img src="images/AwardList/a3.png" alt="award" />
        </div>
        <div class="clearfloat">
        </div>
        <div class="groups">
            <% foreach (var ll3 in listWeiboAward)
               {
                   string[] ll3users = ll3.UserList.Split( ',' );
            %>
            <div class="group">
                <div class="ft_12 green2 title">
                    <%= ll3.Title%></div>
                <div class="itemgroup">
                    <% 
                   foreach (var n in ll3users)
                   { %>
                    <div class="item">
                        <%=n %></div>
                    <%} %>
                    <div class="clearfloat">
                    </div>
                </div>
                <div class="clearfloat">
                </div>
            </div>
            <div class="separline_655">
            </div>
            <% } %>
        </div>
    </div>
    <div class="p4">
        <div class="fltlft">
            <div style="background: url(images/AwardList/t4.png) no-repeat; height: 40px;">
            </div>
            <div class="sub_title">
                <p class="ft_12 brown2">
                    请用户如实填写注册信息，奖品将统一快递去注册地址。</p>
            </div>
        </div>
        <div class="fltrt">
        </div>
        <div class="clearfloat">
        </div>
    </div>
</asp:Content>
